package com.winit.openapi.exception;

import com.winit.common.error.BizException;
import com.winit.common.spi.context.CommandContext;

public class ApiBizException extends BizException {

    private static final long serialVersionUID = 4992863581733102615L;

    
    public ApiBizException(String errorCode){
        super(errorCode, CommandContext.getContext().getLocale());
    }

    public ApiBizException(String errorCode, Object... params){
        super(CommandContext.getContext().getLocale(), errorCode, params);
    }

}
